#include "outdialog.h"
#include "ui_outdialog.h"

OutDialog::OutDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::OutDialog)
{
    ui->setupUi(this);
    this->setWindowTitle("外来人员登记");
}

OutDialog::~OutDialog()
{
    delete ui;
}

void OutDialog::on_pushButton_3_clicked()
{
    MainWindow *m=new MainWindow;
    this->hide();
    m->show();
}

void OutDialog::on_pushButton_clicked()
{
    outlDialog *w=new outlDialog;
    this->close();
    w->show();
}

void OutDialog::on_pushButton_2_clicked()
{
    outcDialog *w=new outcDialog;
    this->hide();
    w->show();
}

